<!-- subpkg_consult/quickly/index.vue -->
<script setup>
// 接收地址参数
const props = defineProps({
    type: String,
})
</script>

<template>
    <scroll-page>
        <view class="quickly-page">
            <image class="quickly-banner" src="/static/images/quickly-consult.png" />
            <view class="quickly-tips">
                <text class="highlight">20s</text>
                快速匹配专业医生
            </view>
            <uni-list :border="false" class="consult-type">
                <uni-list-item
                    title="三甲图文问诊"
                    note="三甲主治及以上级别医生"
                    show-arrow
                    :to="`/subpkg_consult/department/index?type=${props.type}&illnessType=1`"
                    thumb="/static/images/consult-type-1.png"
                    thumb-size="lg"
                />
            </uni-list>
            <uni-list :border="false" class="consult-type">
                <uni-list-item
                    title="普通图文问诊"
                    note="二甲主治及以上级别医生"
                    show-arrow
                    :to="`/subpkg_consult/department/index?type=${props.type}&illnessType=0`"
                    thumb="/static/images/consult-type-2.png"
                    thumb-size="lg"
                />
            </uni-list>
        </view>
    </scroll-page>
</template>

<style lang="scss">
@import './index.scss';
</style>
